Fixed action_reply and added permissions