added withdraw functionality using servlet