add 2 new servlets
replace method connection for better encoding