Add login system for admin function page