small changes for edited user and teacher