added login, as well as created  login/logout/account links in a helper method-to be shown at the correct times