update root path to pins#index and render based on signed in or not