convert to haml login page