Trying to get register user working