Add login and app init.