migrating old homepage management page to spring