added the assignment of the user id to new account creation and login