can now register a new user, and the user will be automaticly logged in if the registration is successful
added file