Authentication added

Adding authentication.