Add tests for auth service, added user last activity attribute