This file looks like a duplicate of admin.jsp. Is is possible to extract the common code out of them so we don't have duplication?