Finalized the authentication service adding comment and final touches