added initializers/session.js, isAuthenticated condition in PostsTemplate works after login