Code For StudManager