modified usecase18 (setusername) to work with changes made to handle whitespace usernames in the model