process login route setup