Link to profile page if logged in using session variable