fixed bug encountered when creating a new account as a non-user