Fixed issue with getLogin