various profile use edge cases
Merge pull request #43 from gvn/1016121

Profile edge cases, 404 etc. – Closes 1016121