Fixed error messages and added more checks to Student admin controller