write test for login
add travis yaml