corrected how log entries are made when PTO is approved; remove pto field from UserProfile and replaced with function