add edit profile token and ability to override opening in a new window