Add login and register layouts and functionality