cleaned login and register test scripts