added the create, details and edit parts for the views part