adding Basic Auth, Adding File-Auth Functions.