checked for servlet extension and serialVersionUID
fixed semicolon and removed unused variables