Some changes in the front and back, added save functionality in store method, design controller.