Added authentication, validation still missing.
Authentication added, validation still missing