Made form post and save through to database