Added functionalities to room fragment

it will get all data dynamically
Fixed room fragment to actually work