Changed the functionality to display profile image for Anonymous user

Signed-off-by: Anurag <anurag.pattnaik@andolasoft.com>