Working on the authentication

Signed-off-by: Davinderpal Singh <davinderpalrehal@gmail.com>