added views and updated store controller