moveing the alll the retrival from the servlet to the manager