Add some documentation to authentication module. Don't store 'user' in localStorage, rather fetch it from the server.