changed controllers and added new pages