GSM Module setting a password and command

Good day , I’m working with project right now that will display text and logo in RGB LED strip using GSM module and arduino . I’m al ready done with that but the problem is My whole project requires a Admin

this is the scenario

student texted the number of GSM module then it will temporary stored (maybe on array)

then the admin need to approve it ( Display or Delete that message )

To display or delete message Admin requires a password and command like this:

STI123 Display MGS1
(password) (command) (message that stored)

can you give me example codes or some PDF to understand more about GSM module TIA guys.