Added some documentation for user api.
Created basic tests for user api.