Fixed shared links index view
Made it so that share_links.user_id is never empty. Improved index view for share_links.