Added username handing

As per Pete’s request the logic of image selection depends on users
now.
Test

Test WTF is this.