adapts login page to the new structure