adding login view and routes