refactor login/logout footer so logic is out of view

Sorry Scotty I couldn't help myself and found a way to keep it all in the app
helper again.