Added Auth class method to retrieve database