changed form method to post