changes to controllers to match DBHelper, added abstract User class