add listener for profile view