fixed bug in compare function to check for user avatar
styling up