added ability to add comment if user is logged in