Layout changes
Return error when app auth fails to prevent auth ticket loop