consume api on welcome page