implement design in trainer page, rewrite urls in htaccess and other general changes