showing a login dialog and making a request to the server, retrieving errors