Fixing error when adding Contact to a non-existent group; also adding a home page link on error pages