Implement authManager. Closes #32
Add user type test in UserTest.
Add authManager tests. #32