basic app structure working with cards and auth