it should add a new user to repo if is valid