changed form on main page to ruby form