Add check for sign in to view profiles