Added authentication layer

ToDo:: logout and authorization layer
lib update
lib update - cont.