fix admin login page with new framework