router as dependancy and first login view