Resolved authentication issues. Refactored the CardTable service.