Updated json in authenticate in student controller