added a non working method to fetch records from db for action
added the dao call in action as well.
will correct the backend dao later.