add login/logout link to view