using different login (object oriented)