Adds back student menu and removes duplicate code