added hashtag to register function