fix the user creation to be done the railsy way