updated output to consist of just logins field as an array