Implemented HTTP Basic Auth within this file