adding create, edit and destroy methods