use <front> for logo link so no redirect is performed
Dont run htmlentities on address to be urlencoded