Added User update functionallity.
Students can update their password.
Teachers can update their password and name,email.