added thanks and error pages