updated get.php: (1) Added authentication header validation.
                 (2) Added response code and error text.