bug fix to adding users in the admin