Making authentication
Redirect wrong users edit to the root