split location function into two
Merge pull request #807 from DirectEmployers/prm-home-ui-update-tweak

split location function into two