dynamic auth links
added a logout link
added passport and removed nconf
refactoring, added config folder
refactoring