added views to users and posts