script to test user login