set homepage as require login