fixed submit button issue on homepage, upgraded rails