[Fix bug 1000908] Fix user logout when profile gets deleted.

* Remove logout page and redirect to home instead.
Merge pull request #996 from johngian/fix-delete-logout

[Fix bug 1000908] Fix user logout when profile gets deleted.