fixed user sign-up problem