Only display profile update message when profile action is allowed
Merge pull request #5 from bug/master

Only display profile update message when profile action is allowed