added front end functionality to share and delete user