added acceptance test for login route