initial login process templated (TODO: separate first login views)