added start of authentication
added stuff
added middleware
closer to a viable session solution
fixed session stuff
Merge branch 'dev' into feature/sessions