connecting /login to the new view