Added method to create user if not found