added pages and auth controller