moved sign out button into popover. cleaned up controller for photos#index