put page values in controller, fixed show page slightly, fixed tests/factories