Added login_required for protected pages