Initial setup of sessions, cookies, and storing user logins