Updated Code , Added Admin Test Code