Adding authentication in template and CRUD to users.