fix bug where first page loaded is user page