changed: expanded login system to other pages