Added delete function to user object and user list.