adding test for login routine