added security functions in preparation for live deploy. Did NOT add .en...

...v and .env.local files due to password issues - will do so tomorrow after discussing