Little problem with getting data from server but mostly working