rewrite feedController for association use and fixed its sorting