Fixed the controller - Browser now receives data from database