Finished lab  6.1 added headers for access from javascript