Get accounts

Have implemented get account. Please review and merge.
Shouldn't you be setting the user id instead of the username?