fixed course id bug and cleaned up student actions