fixed some server model classes to have implemented methods and error checking