revert to page-login for ios6 bug