made query on home screen, connected tableview outlet