added signup confirmation function
set up class handler