Added login requirement for account pages.