only logout not working for parse login/logout