Added equals to LoginInfo