Merge pull request #740 from hegek87/havoc

Refactored controllers for account page.
made post modal dismiss when clicking outside
Merge pull request #741 from jnarron/havoc

Made post modal dismiss when clicking outside of it