got login/logout to work