Can now create new posts and categories. Finished both controller and models. Can be accessed by /addpost contoller. Can only be used by users with mod or admin privilages. Cookies also now work.