Added better handling for signup submit