Fixed the home page so that it is ordered by dateCreated in descending
order. Also fixed the id check in the avatar validator