Added JavaScript functionality to perform CRUD operations on users