servlet with methods