optimize the page of logon and registe