add user sessions and tests for creating a session