updates to card view
adds content to logout_menu and refactors code into partials
adds logout-menu