convert the login page to use input partials