integrate three jsp page and deleted useless stuff