Refactoring user test
Testing session auth