adds integration tests to users
Adds tests for sessions