fix valid view of login page in admin module