Added post model and set up authentication.