Change pins controller def show @is_admin from user_id to user.id