Add comment functions and authentication