add better tests
add better tests
add test for login