Added if statements to views to filter out actions that users can't to when they are in other user shelf or in stalk page.