added title to user or teacher