implement servlet and interface