Backend nearly done

Fixed some issues with the way date was being stored. Fixed issues with
headLibrarian and LibraryStaff..