Add some buttons only for admin; using ajax to send code