make sure to show the server response in case of errors during login or
logout.