changes to register a new user!

now we can register a user!