Added error and admin pages