Changes to connect to real rest API