Added datasources class for frontend authentication