Client gets error message if login fails

#113 closed