task#5680 fix bugs occurs when no user is associated to profile
Merge pull request #132 from cuongnv540/task#5680

task#5680 fix bugs occurs when no user is associated to profile