buffered reader added, validation before authorize.save() added