Models are now extending from a base model, added method to retrieve a log by id accessible from the api