Trying to fix user registration