registration and login works, but errormessages need to be better