working with test login functionality