Fixed minor bugs in searches, added session checking, added error
message field for staffs.
Merge branch 'master' of https://github.com/sphan/COMP9321.git