changed all servlet default methods to private methods