fixed the /login bug by adding some definition in router.get