added activity controller for sharing