updated Agent login methods to new standard