add REST documentation for authentication module

This returns the logged in user as well