Authentication 1.1

Implemented basic authentication.