Modified class to use user_id as primary key
Deleted extra drageventlistener