created & set up restful actions for customer model