Homepage linked up with API