working on staying logged in