Authentication added
Almost there. Added authentication and posts