Added datasources class for frontend authentication

Added a datasource class that allows an object capable of http get requests to be passed in.