added signup hooks