added links to dashboard and logout when user is loggenIn
index.jade page is rendered with loggedIn field