Added 'Create User' functionality. Fixed a bug on loading classes after inserting fields to the database.