updated posts controller to pass through current_user when posting