added data to the database, created controller, serializer, index view and route to render json