Added support for viewing other user's profile with/without logging in