Fix For The Profile Pic In nag menu

Applied fix for the profile pic in the navigation menu. Improved the
postman implementation to make it more generic.