refactoring admin.jsp