Add login support to demo app