Adding Cookie Functionality and Rename Folders

Removed Spaces from folder names. I added functionality for cookies and
validating teacher users exist.