Fixes bug in signup that redirected to the jsps