Refactor how to lookup users with usernames
Create lastline agent api call