fixing bug in logOut app