Fix bug causing signup not to work