added :order options to post and user models