Added functionality to create new users.