cart/purchase user check and cat func update
Merge branch 'master' of https://github.com/tmlai/CMPUT410-TTHE-Group-Project