Moved some code from views to users_controller, displaying content contributed on profile page