add functionality to click user and view profile