added controller called store for front end