log in out exception