Bug with register user