events form completed and saving to database