Added user authentication and delete curl command