Modified user authentication in posts controller, and added html layout for the show html