fixed bug on create user login, have to save password before user_id can be created