added SessionAuthenticationMiddleware
added basic accounts model