added profile link for logged-in users.