authenticate_user in the posts controller so that we can't view the edit page when not logged in