fixed error checking on signup