accessing of data from database is finished