moved user creation to new file