Updated rest controller to look for an all method
Added ability for appointment to look for a date