add tests for user pages