Button on main page now submits