finished 1.3 with refer friend and state pager