UserSession fix
more tests for UserSession