added Register functionality