Integrating Authentication code

Branch: Authentication
Feature: Service API can only be accessed by a valid token which is generated by verifying the credentials.
Functions, and files which does the same are added.