fixed ordering on main page of posts and fixed user model