fixed user name prompt loop