Added more error checking in timesheet and added the standard response.