Add login page and some basic logic.