Added ability to create new users, and update existing users. Random code cleanup.