fix bug, hide previous page button once user signin