fixed signup, showing errors if there are code errors