Auth Finished+Router Added

1. The process of authentication is implemented.
2. A router and handler for dealing with the requests are added
3. Added an example for possible client implementation