fix problems with ENTER key. fix problems with creating new user if previous user creation failed