* formatting
* add back logout functionality
* use location.replace instead of location.href
  to change browser url
* add logout controller test