Added users model and controller, migrated db and added indices.