My form only shows up on my page when I refresh, why?