fixes...tests running... WIP: login and logout dont work