Feature/mob 2142 login

should the username be assigned if login fails?