created endorsements controller and model and showing endorsements on main page