Added documentation to authentication module