created backend for view board