Updated students controller