error checks and session var
Merge branch 'backend' of https://github.com/faisalmoeen/TimePlanner.git into backend