changes done in mainservlet and homepage