updated timesheet to give error messages