Copy constructor added to Login class