add comment function for user and admin