added test for login route