Add user tests
Clean up dependencies
Improve auth lib