refact collaborators controller, user model and wiki model