Moved inserting new user into separate method