parsing and saving GET parameters