adding tests of login