Added api functions for removing a user