Username -> Member ID

Changed the code to use member IDs instead of usernames.