added simple php authorization