Implemented API to delete user.