Unique gain reference list
Fixed auto login to leginon