Add middleware to add current user to request object
User context and middleware with template updates and login/logout views