adds json routes for user show buttons