adjust login page for new paths