signup and comment function