quick hack to get members page working when member missing image_url
Some quick refactorings to make it a bit easier to read.