added valid e-mail checking code
added alerts for errors in timesheet before submission