adds leave_comment method to comments controller