Added in session validation
Altered .gitignore