Add login model, router and view