successfully retrived data from db