change if @post.user.avatar for unless