converted controller to open firebase instead of having board doing it