Ja, except it is prudent to include a Case 1 as the last case.

If there are a large number of users, it would be better to switch over to using INI files. If every user had their own INI, you could manage things by creating/editing the INI files named after the @UserID and not have to constantly edit the script. It is too easy to fubar the script with a misplaced quote of EndIf, etc.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.