renamed login to username and ran tests