added create and destroy actions based on rails cast