wip with login/logout working